/*
 * Mutex.hpp
 *
 *  Created on: 14.12.2012
 *      Author: zheka
 */

#ifndef MUTEX_HPP_
#define MUTEX_HPP_

#include <pthread.h>
#include "ILockeble.hpp"
class Mutex : public ILockable {
private:
	pthread_mutex_t mutex;
public:
	Mutex();
	~Mutex();
	virtual void lock();
	virtual void unlock();
	pthread_mutex_t * getMutex() ;
};

#endif /* MUTEX_HPP_ */
